import 'package:flutter/material.dart';
import 'package:flutter_nft/page/commont/listindex.dart';
import 'package:flutter_nft/page/detailvideo/detaill_video_index.dart';
import 'package:flutter_nft/page/home/detail/digital_detail.dart';
import 'package:flutter_nft/page/home/index.dart';
import 'package:flutter_nft/page/list/index.dart';
import 'package:flutter_nft/page/login/login_phone_screen.dart';
import 'package:flutter_nft/page/login/register_code.dart';
import 'package:flutter_nft/page/login/register_two.dart';
import 'package:flutter_nft/page/login/signup_screen.dart';
import 'package:flutter_nft/page/message/glb_index.dart';
import 'package:flutter_nft/page/message/payproductdetail/pay_product_detail.dart';
import 'package:flutter_nft/page/my/clearsetting/clear_setting.dart';
import 'package:flutter_nft/page/order/order_index.dart';
import 'package:flutter_nft/viewmodel/tabbar_view.dart';
import 'package:flutter_nft/wiget/test_animation.dart';
import 'package:flutter_nft/wiget/test_stock.dart';
import '../page/loding.dart';
import '../page/login/login_screen.dart';

//路由入口
Map<String, WidgetBuilder> routes = {
  "/": (BuildContext context) => LogingPage(),  // 默认  LogingPage
  "register": (BuildContext context) => SignupScreen(),
  "registertwo": (BuildContext context) => RegisterTwo(),
  "registercode": (BuildContext context) => RegisterCode(),
  "tabbar": (BuildContext context) => TabbarView(),
  "home":(BuildContext context) => HomePro(),
  "list":(BuildContext context) => ListPro(),
  "leftright":(BuildContext context) => HomeIndex(),
  "login": (BuildContext context) => LoginScreen(),
  "loginphone": (BuildContext context) => LoginPhoneScreen(),
  "homeindexpro": (BuildContext context) => HomeIndexPro(),
  "detailvideoindex": (BuildContext context) => DetailVideoIndex(),
  "digitaldetail": (BuildContext context) => DigitalDetail(),
  "orderlist": (BuildContext context) => OrderIndex(),
  "payproductdetail": (BuildContext context) => PayProductDetail(),
  "glbindex": (BuildContext context) => GlbIndex(),
  "clearsetting": (BuildContext context) => ClearSetting(),
  "stock": (BuildContext context) => TestStock(),
  "donhua": (BuildContext context) => TestAnimation(),
};